package net.mingsoft.expertmanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 项目信息实体类
 */
@Data
@TableName("project_info")
public class ProjectEntity {
    @TableId(value = "project_code", type = IdType.INPUT)
    private String projectCode;
    private Integer serialNo;
    private String projectName;
    private String department;
    private String leaderCode;
    private String participantExperts;
    private String projectType;
    private String techMaturity;
    private String coreTechKeywords;
    private String applicationIndustry;
    private String marketStage;
    private String transformationMode;
    private String ipDetails;
    private String cooperationTendency;
    private String budget;
    private String contact;
    private String remarks;
    
    /**
     * 获取ID (兼容方法)
     * @return 返回项目编号作为ID
     */
    public String getId() {
        return this.projectCode;
    }
    
    /**
     * 设置ID (兼容方法)
     * @param id 项目编号
     */
    public void setId(String id) {
        this.projectCode = id;
    }
} 